Inside Macintosh: More Macintosh Toolbox
Previous
|
Chapter Top
|
Chapter Contents
|
Next
Contents
Introduction to Components
About the Component Manager
Using the Component Manager
Opening Connections to Components
Opening a Connection to a Default Component
Finding a Specific Component
Opening a Connection to a Specific Component
Getting Information About a Component
Using a Component
Closing a Connection to a Component
Creating Components
The Structure of a Component
Handling Requests for Service
Responding to the Open Request
Responding to the Close Request
Responding to the Can Do Request
Responding to the Version Request
Responding to the Register Request
Responding to the Unregister Request
Responding to the Target Request
Responding to Component-Specific Requests
Reporting an Error Code
Defining a Component's Interfaces
Managing Components
Registering a Component
Creating a Component Resource
Establishing and Managing Connections
Component Manager Reference
Data Structures for Applications
The Component Description Record
Component Identifiers and Component Instances
Routines for Applications
Finding Components
FindNextComponent
CountComponents
GetComponentListModSeed
Opening and Closing Components
OpenDefaultComponent
OpenComponent
CloseComponent
Getting Information About Components
GetComponentInfo
GetComponentIconSuite
GetComponentVersion
ComponentFunctionImplemented
Retrieving Component Errors
GetComponentInstanceError
Data Structures for Components
The Component Description Record
The Component Parameters Record
Routines for Components
Registering Components
RegisterComponent
RegisterComponentResource
RegisterComponentResourceFile
UnregisterComponent
Dispatching to Component Routines
CallComponentFunction
CallComponentFunctionWithStorage
Managing Component Connections
SetComponentInstanceStorage
GetComponentInstanceStorage
CountComponentInstances
SetComponentInstanceA5
GetComponentInstanceA5
Setting Component Errors
SetComponentInstanceError
Working With Component Reference Constants
SetComponentRefcon
GetComponentRefcon
Accessing a Component's Resource File
OpenComponentResFile
CloseComponentResFile
Calling Other Components
DelegateComponentCall
Capturing Components
CaptureComponent
UncaptureComponent
Targeting a Component Instance
ComponentSetTarget
Changing the Default Search Order
SetDefaultComponent
Application-Defined Routine
MyComponent
Resources
The Component Resource
© 1997 Apple Computer, Inc.
Previous
|
Chapter Top
|
Chapter Contents
|
Next